home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mobiclic 71
/
MOBICLIC 71.ISO
/
mac
/
DATA
/
COMMUN
/
temp0001
/
00235_Script_GESTION_PISTES_DIODES
< prev
next >
Wrap
Text File
|
2004-12-05
|
1KB
|
45 lines
global gL_Zap
property p_cettePiste, p_Nodepiste,p_nom_Acteur,p_noDiode
----------------------------------
on beginsprite me
p_Nodepiste = me.spriteNum
p_cettePiste = sprite(p_Nodepiste)
p_nom_Acteur = p_cettePiste.member.name
if p_nom_Acteur contains "01" then gL_Zap[15] = p_Nodepiste-- le n░ de la
--piste de la premiΦre diode
p_noDiode = p_Nodepiste -gL_Zap[15] + 1
end
-----------------------------------
on mouseEnter
if the pauseState then exit
if p_noDiode > localparam("COORD",4) then exit
if p_noDiode = localparam("COORD",6) then exit
if p_cettePiste.blend < 100 then exit
cursor 280
end
------------------------
on mouseLeave
if the pauseState then exit
if p_noDiode > localparam("COORD",4) then exit
if p_noDiode = localparam("COORD",6) then exit
if p_cettePiste.blend < 100 then exit
cursor -1
end
--------------------
on mouseUp
if the pauseState then exit
if p_noDiode > localparam("COORD",4) then exit
if p_noDiode = localparam("COORD",6) then exit
if p_cettePiste.blend < 100 then exit
cursor -1
tell the stage
case(zRub()) of
"CPLUSCLAIR":
goSameRub(0,"LABEL_"&gimme2digits(p_noDiode-1))
otherwise:
goSameRub(p_noDiode-1)
end case
end tell
end tell
end
-----------------